<?php
header("Content-type:text/html;charset=utf-8");
$dirs = glob('Application/*');
echo "<table border='1'>";
echo "<tr><td>类型</td><td>名称</td></tr>";
foreach($dirs as $d)
{
	$type=is_dir($d)?'目录':'文件';
	echo "<tr><td>{$type}</td><td>{$d}</td></tr>";
}
echo "</table>";